package com.jumi.microservice.service.impl;

import cn.hutool.core.util.ObjectUtil;
import com.jumi.microservice.entity.JmArea;
import com.jumi.microservice.mapper.JmAreaMapper;
import com.jumi.microservice.service.IJmAreaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 要挑客户管理团队
 * @since 2020-09-07
 */
@Service
public class JmAreaServiceImpl extends ServiceImpl<JmAreaMapper, JmArea> implements IJmAreaService {
    @Autowired
    JmAreaMapper mapper;

    @Override
    public List<JmArea> getArea(Integer areaId) {
        return mapper.getArea(areaId);
    }
}
